#Define helper methods in which the variables can be used across multiple classes
module KnowsTheDomain
  def my_account
    @my_account ||= Account.new
  end
  def cash_slot
    @cash_slot ||= CashSlot.new
  end
  def teller
    @teller ||= Teller.new(cash_slot)
  end
end

# Tell the module is a part of the World
World(KnowsTheDomain)
